<?php echo form_open($action) ;?>
<div class="row-fluid">
<div class="span6">

	
	<p class="lab">	
	
		<label  for="group_no">Group Number<br />
		<input class="span8 form-control" id="group_no" name="group_no" type="text" placeholder="Enter Group Number"
			size="75" value="<?php echo $group_no; ?>" />
	
	</p>

	<p class="lab">	
		<label  for="value">Value Of Chit<br />
		<input class="span8 form-control" id="value" name="value" type="text" placeholder="Enter Value Of Chit"
			size="75" value="<?php echo $value; ?>" />
	</p>			
		
<p class="lab">	
		<label  for="no_of_month">No Of Months<br />
		<input class="span8 form-control" id="no_of_month" name="no_of_month" type="text" placeholder="Enter Month"
			size="75" value="<?php echo $no_of_month; ?>" />
	</p>
	
	<p class="lab">	
		<label  for="no_of_members">No Of Members<br />
		<input class="span8 form-control" id="no_of_members" name="no_of_members" type="text" placeholder="Enter No Of Members"
			size="75" value="<?php echo $no_of_members; ?>" />
	</p>
	
	<p class="lab">	
		<label  for="installment_amt">Installment Amount<br />
		<input class="span8 form-control" id="installment_amt" name="installment_amt" type="text" placeholder="Installment Amount"
			size="75" value="<?php echo $installment_amt; ?>" />
	</p>
	
	<p>	
	<p class="lab">	
		<label  for="due_fine">Due/Fine<br />
		<input class="span8 form-control" id="due_fine" name="due_fine" type="text" placeholder="Enter Due/Fine"
			size="75" value="<?php echo $due_fine; ?>" />
	</p>
		
	
</div>
<div class="span6">
	
	<p class="lab">	
		<label for="max_bid">Maximum Bid<br />
		<input class="span8 form-control" id="max_bid" name="max_bid" type="text" placeholder=" Maximum Bid in %"
			size="75" value="<?php echo $max_bid; ?>" />
	</p>
	
	<p class="lab">	
		<label  for="min_bid">Minimum Bid<br />
		<input class="span8 form-control" id="min_bid" name="min_bid" type="text" placeholder=" Minimum Bid In %"
			size="75" value="<?php echo $min_bid; ?>" />
	</p>
	
	<p class="lab">	
		<label  for="auction_time">Auction Time<br />
		<input class="span8 form-control" id="auction_time" name="auction_time" type="text" placeholder=" Auction Time"
			size="75" value="<?php echo $auction_time; ?>" />
	</p>
		<p class="lab">	
		<label style="padding-left:6px;" for="auction_type">Auction Type<br />
		<input class="span8 form-control" id="auction_type" name="auction_type" type="hidden" placeholder=" Auction Type"
			size="75" value="<?php echo $auction_type; ?>" />
		<select class="span10 form-control option">
		
			 <option class="form-control option1" <?php if($auction_type=='weekly') {echo " selected='selected' " ; }?> value='weekly' > weekly </option>
			<option class="form-control option1" <?php if($auction_type=='monthly'){  echo " selected='selected' " ; }?> value='monthly' > monthly </option>
		</select>
		</p>
	<p class="lab">
	<label style="padding-left:6px;" for="auction_date">Auction Date<br />
		
		<input class="span8 input-append date form-control" id="auction_date" name="auction_date" data-date="12-02-12" data-date-format="DD-mm-yy" type="text" placeholder="Auction Date" 
			size="50" value="<?php echo $auction_date; ?>" />
		
	</p>
	

	</div>
	</div>
	</div>
	<p style="right:10px;position:absolute;padding-top:40px;"><input  class="btn btn-default" type="submit" value='ADD' /></p>
	
	
 </div>
	
</form>
   	
	<!-- <div class="input-append bootstrap-timepicker">
<input id="timepicker1" type="text" class="input-small">
<span class="add-on"><i class="icon icon-time"></i></span>
</div>
 
<script type="text/javascript">
$('#timepicker1').timepicker();
</script>!-->
<div class='scri'>
</div>
  	<script type='text/javascript'>
var a='weekly';
function datep(a)
{
if(a=='weekly')
				  { 
				  $('.scri').html("<script>$('#auction_date').datepicker({format: 'DD',viewMode: 'days', minViewMode: 'days'});");
					}
					else
					{ 
					$('.scri').html("<script>$('#auction_date').datepicker({format: 'dd',viewMode: 'days',minViewMode: 'days'});");
					}
					
					
				}
 $(function(){

                $('.option1').click(function(event){
				 
				a=$(this).attr('value');
				$('#auction_type').val($(this).attr('value'));
				//event.preventDefault();
                  
					 datep(a);
                  
                   
                });

            });

</script> 
<div class="modal-footer">
     
	</div>